home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / dvver.zip / DVVER.DOC < prev   
Text File  |  1991-09-30  |  2KB  |  61 lines

  1. Sept 30, 1991
  2.  
  3. DVVER is a very simple program which tells you whether DesqView is
  4. loaded or not, and (if it is) what version you have.  This isn't very
  5. interesting in most circumstances, except that DVVER also returns the
  6. version number in its exit code.  Therefore, you can use DVVER in batch
  7. files to avoid starting programs which would crash DesqView, and you can
  8. guarantee that DesqView programs run under an appropriate version.
  9.  
  10. In my experience, games are the worst offenders as far as DesqView
  11. incompatibility is concerned.  For example, to prevent Manhole from
  12. starting under DesqView, try a batch file like:
  13.  
  14.        @echo off
  15.        dvver s
  16.        if errorcode 1 goto cant_do
  17.        mh
  18.        goto end
  19.  
  20.        :cant_do
  21.        echo Can't start ManHole when DesqView is active.
  22.        echo Quit DesqView and try again!
  23.        :end
  24.  
  25. DVVER takes two optional command line arguments, which make it
  26. useful in batch files.    The arguments are case-insensitive.  The
  27. argments can be preceeded by dashes or slashes if you like.
  28.  
  29.     s    (silent) inhibits printing of the version to the console
  30.     m    (minor) returns the minor version in the exit code
  31.  
  32. If you have DesqView version 2.31, for example, the major version number
  33. is 2 and the minor version number is 31.
  34.  
  35. Since the DOS exit code (what you test for in an IF ERRORLEVEL
  36. statement) is an integer less than 256, DVVER can only return either the
  37. major or minor version number in a single call.  The default is to
  38. return the major version number.  I do hope you're not so unlucky as to
  39. find a program which works under only a specific range of minor version
  40. numbers!
  41.  
  42.     DVVER is the sole property of Frank Muennemann, and all
  43.     rights to DVVER are reserved.  Anyone may freely copy DVVER,
  44.     so long as no more than U.S.$5 is charged for the copy, and
  45.     so long as it remains unmodified.  DVVER is made available
  46.     "as is", with no warranty of any kind.  Frank Muennemann will
  47.     not be liable for special, incidental, consequential,
  48.     indirect or other similar damages resulting from the use of
  49.     this program.
  50.  
  51. If you find any bugs in DVVER, or have any comments, suggestions, or
  52. improvements to offer, please contact its author:
  53.  
  54.       Frank Muennemann
  55.       13 Happy Hollow Lane
  56.       Menlo Park, CA  94025
  57.  
  58.       frankm@resonex
  59.       ...!sun!resonex!frankm
  60.       ...!netcom!resonex!frankm
  61.